package com.zr.spring.redis;

import java.util.List;

public interface RedisBaseTakes<K, H, V> {
    //增
    public void add(K key, String value);

    public void addObj(H objectKey, K key, V object);

    //删
    public void delete(K key);

    public void delete(List<K> listKeys);

    public void deleteObj(H objecyKey, K key);

    //改
    public void update(K key, String value);

    public void updateObj(H objectKey, K key, V object);

    //查
    public String get(K key);

    public V getObj(H objectKey, K key);
}
